﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/OneColumn.Master" AutoEventWireup="true"
    CodeBehind="Members.aspx.cs" Inherits="SharingCenter.Web.Mod.Groups.Members" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    <asp:Literal runat="server" ID="ltrTitle"></asp:Literal>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<myuc:GroupHeader ID="GroupHeader1" runat="server" GroupIdQueryStringField="id" />
    <myuc:GenericTabs ID="LinkListTabs2" runat="server" Section="GroupPage" SelectedItem="3" AddPageQueryString="true" />
    <asp:ListView ID="ListView1" runat="server" DataSourceID="LinqDataSource1">
        <LayoutTemplate>
            <div runat="server" id="itemPlaceholder">
            </div>
        </LayoutTemplate>
        <ItemTemplate>
            <div>
                
                <div class="ctn-p-t">
                    <asp:ListView ID="lvMemberList" runat="server" GroupItemCount="6">
                        <LayoutTemplate>
                            <table style="width:100%">
                                <tr id="groupPlaceholder" runat="server" />
                            </table>
                        </LayoutTemplate>
                        <GroupTemplate>
                            <tr>
                                <td   id="itemPlaceholder" runat="server" />
                            </tr>
                        </GroupTemplate>
                        <ItemTemplate>
                            <td style="width:17%">
                                <div class="textcenter">
                                    <myuc:ThumbAvatar CssClass="selfcenter" runat="server" UserId='<%#Eval("UserId") %>' />
                                    <div>最近访问:
                                        <asp:Label OnPreRender="lblVisitDate_PreRender" ID="lblVisitDate" runat="server" Text='<%#Eval("VisitDate") %>'></asp:Label>
                                    </div>
                                </div>
                            </td>
                        </ItemTemplate>
                        <EmptyItemTemplate>
                            <td style="width:16%"></td>
                        </EmptyItemTemplate>
                    </asp:ListView>
                </div>
            </div>
        </ItemTemplate>
    </asp:ListView>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="SharingCenter.Web.Classes.scDataContext"
        TableName="Sc_Groups" Where="GroupId == @GroupId">
        <WhereParameters>
            <asp:QueryStringParameter DbType="Guid" Name="GroupId" QueryStringField="id" />
        </WhereParameters>
    </asp:LinqDataSource>
</asp:Content>
